package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "IsNewToken", description = "登录返回体")
public class UserIdToken {

    @ApiModelProperty("是否为新用户")
    private Boolean IsNew;

    @ApiModelProperty("token")
    private String token;

    @Override
    public String toString() {
        return "UserIdToken{" +
                "IsNew=" + IsNew +
                ", token='" + token + '\'' +
                '}';
    }

    public Boolean getNew() {
        return IsNew;
    }

    public void setNew(Boolean aNew) {
        IsNew = aNew;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserIdToken(Boolean isNew, String token) {
        IsNew = isNew;
        this.token = token;
    }
}
